home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / mail.473 < prev    next >
Text File  |  1992-02-06  |  2KB  |  35 lines

  1. {\rtf0\ansi{\fonttbl\f3\fswiss Helvetica;\f1\fmodern Courier;\f2\fmodern Ohlfs;}
  2. \paperw11440
  3. \paperh9000
  4. \margl120
  5. \margr120
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f3\b0\i0\ul0\fs24 mail lost mailbox table of contents\
  7. \
  8. Q:  Mail says it can't find the table_of_contents file.  What can I do?\
  9. \
  10. Q:  How can I force Mail to regenerate my table_of_contents file?\
  11. \
  12. A:  There are two ways to force table_of_contents generation.  The first is to just remove the table_of_contents file from the .mbox directory (for example, Active.mbox).   (To get inside the .mbox directory using the Browser, select ~/Mailboxes/Active.mbox, or whichever mailbox you're fixing, then use the Open Directory command in Workspace's Window menu.)    If you're fixing your Active mailbox rather than some other mailbox, quit and restart Mail.  Otherwise, you can just open the mailbox in Mail without quitting first.\
  13. \
  14. If this doesn't fix it, there may be null characters in the file called "mbox".  Quit Mail.  Then in a Shell window, cd to the directory (e.g., Active.mbox) that contains the mbox file, and type:\
  15. \
  16.  
  17. \f1     cat -v mbox | grep '*.^@'\
  18.  
  19. \f3 \
  20. If this returns anything (i.e., it prints out anything other than the usual Shell prompt), you've got nulls in the file.   Type:\
  21. \
  22.  
  23. \f1     tr < mbox > tmp\
  24.     mv tmp > mbox\
  25.  
  26. \f3     \
  27. This should remove any nulls.  Mail should regenerate the table_of_contents file when you re-launch it.\
  28. \
  29. QA473            \
  30. \
  31. Valid for1.0 \
  32. Valid for 2.0\
  33. \
  34.  
  35.